|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Restricting Element Order with Attribute Values
David,
>Can you give a small
>example where you think that constraining the source order would save you a
>test?
>
>
My current stylesheet is hard-coded with the order of webstats.
<xsl:template name="list_servers">
<a>
<xsl:attribute name="href">
<xsl:value-of select="webstats[1]/@uri"/>
</xsl:attribute>
MRTG</a>
<a>
<xsl:attribute name="href">
<xsl:value-of select="webstats[2]/@uri"/>
</xsl:attribute>
Bytes</a>
</xsl:template>
I'm investigating ways to make sure the webstat uri's do not
get mixed up. Hard coding output on unrestricted input order
seems like trouble if I don't add some error/order controls.
Sorry I understand xsd is off-topic, apologies, I'll keep to
the list topic from now on.
Thanks.
Regards,
Rudi.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








