Dynamicweb 8 Documentation
XML Method
Example 

The parent page ID.
The absolute start level.
The absolute stop level.
The expand mode to use.
Returns a XmlDocument of the page nodes used for navigation
Syntax
'Declaration
 
Public Function XML( _ 
   ByVal ParentID As Integer, _ 
   ByVal StartLevel As Integer, _ 
   ByVal StopLevel As Integer, _ 
   ByVal expand As XmlNavigation.Expand, _ 
   Optional ByVal areaID As Integer _ 
) As XmlDocument
public XmlDocument XML( 
   int ParentID,
   int StartLevel,
   int StopLevel,
   XmlNavigation.Expand expand,
   int areaID 
)

Parameters

ParentID
The parent page ID.
StartLevel
The absolute start level.
StopLevel
The absolute stop level.
expand
The expand mode to use.
areaID

Return Value

a XmlDocument
Example
Dim xmlNav As New Frontend.XMLNavigation(PageView)
 xmlNav.AbsolutePath = True
 xmlNav.UrlEncode = True
 Return xmlNav.XML(0, 1, 99, Frontend.XMLNavigation.Expand.All)
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

XmlNavigation Class
XmlNavigation Members

Send Feedback