[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl] XSL and XMLSchema with "xsd:"
actually I found my problem, thanks for the help. It was a user error, of course. Edward Kennedy wrote: > > Thank you, I hadn't done that. > > But something else.... > > In the style sheet I am parsing an xml file, but I am trying to look in > the associated schema file(s) to get more information about particular > elements. I have brought the schemas into the stylesheet this way: > <xsl:variable name="topschemafile" select="document('TopSchema.xsd')" > /> > <xsl:variable name="genschemafile" > select="document('GeneralElements.xsd')" /> > > The I'm trying to grab information from them the following way: > > <xsl:for-each select="$topschemafile/schema"> > <xsl:text>found a schema line</xsl:text> > <xsl:for-each select="annotation"> > <xsl:text>found a annotation line</xsl:text> > <xsl:for-each select="appinfo" > > <xsl:text>appinfo is : <xsl:value-of select="." /> </xsl:text> > </xsl:for-each> > </xsl:for-each> > </xsl:for-each> > > This not getting anything from the schema files. > > Any other ideas? > > Thanks > > Eric van der Vlist wrote: > > > > Edward Kennedy wrote: > > > > > > When trying to get information out of here, XSL won't let me select > > > items with xsd: as part of the name. > > > > Had you declared the xsd prefix in your stylesheet ??? > > > > Eric > > -- > > See you in Hong Kong for www10: > > http://www.www10.org/program/w10-half-tut.shtml#ta5 > > ------------------------------------------------------------------------ > > Eric van der Vlist http://xmlfr.org http://dyomedea.com > > http://xsltunit.org http://4xt.org http://examplotron.org > > ------------------------------------------------------------------------ > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|