Hello
I am writing a web site and trying to create a generice template for a given set of XML data. My aim is to display the Hierachy of the current page. For Example SectionA > SubSectionC > SubSubSectionE.
My schema is designed so the Sections are recursive(I think) : -
<xs:element name="Sections">
<xs:complexType>
<xs:sequence>
<xs:element name="Section" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
I'm just at a bit of a loss as to how I display this in my XSL stylesheet. If I was using VB or some other language I would recursively call a procedure, and produce a string of the current section compared to where it sits in the hierarchy.
Does anyone know how to achieve this?
I am writing a web site and trying to create a generice template for a given set of XML data. My aim is to display the Hierachy of the current page. For Example SectionA > SubSectionC > SubSubSectionE.
My schema is designed so the Sections are recursive(I think) : -
<xs:element name="Sections">
<xs:complexType>
<xs:sequence>
<xs:element name="Section" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
I'm just at a bit of a loss as to how I display this in my XSL stylesheet. If I was using VB or some other language I would recursively call a procedure, and produce a string of the current section compared to where it sits in the hierarchy.
Does anyone know how to achieve this?