Re: [xsl] Linking to a 6 level tag content

Subject: Re: [xsl] Linking to a 6 level tag content
From: Kahlil Johnson <jzarecta@xxxxxxxxx>
Date: Tue, 28 Jun 2005 11:38:13 +0300
Hi Michael any luck?

On 6/24/05, Kahlil Johnson <jzarecta@xxxxxxxxx> wrote:
> It was on a previous message from the threat:
> <office:document-content
> xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
> xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
> xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
> xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
> xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
> xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
> xmlns:xlink="http://www.w3.org/1999/xlink";
> xmlns:dc="http://purl.org/dc/elements/1.1/";
> xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
> xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
> xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
> xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
> xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
> xmlns:math="http://www.w3.org/1998/Math/MathML";
> xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
> xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
> xmlns:ooo="http://openoffice.org/2004/office";
> xmlns:ooow="http://openoffice.org/2004/writer";
> xmlns:oooc="http://openoffice.org/2004/calc";
> xmlns:dom="http://www.w3.org/2001/xml-events";
> xmlns:xforms="http://www.w3.org/2002/xforms";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> office:version="1.0">
> <office:body>
>        <office:spreadsheet>
>        <table:table table:name="Sheet1" table:style-name="ta1"
> table:print="false">
>            <table:table-column table:style-name="co1"
> table:number-columns-repeated="7"
> table:default-cell-style-name="Default"/>
>        <table:table-row table:style-name="ro1">
>        <table:table-cell office:value-type="float" office:value="23">
> <text:p>23</text:p>
>
> On 6/24/05, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> > Can't tell whether that output is ridiculous without seeing your XML.
> >
> > Michael Kay
> > http://www.saxonica.com/
> >
> > > -----Original Message-----
> > > From: Kahlil Johnson [mailto:jzarecta@xxxxxxxxx]
> > > Sent: 24 June 2005 13:16
> > > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > > Subject: Re: [xsl] Linking to a 6 level tag content
> > >
> > > Hi guys, is me again, I have been playing with the XML and got the
> > > following XSLT with the namespaces definitions:
> > >
> > > <xsl:stylesheet version="1.0"
> > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> > > xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
> > > xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
> > > xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
> > > xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
> > > xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
> > > xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
> > > xmlns:xlink="http://www.w3.org/1999/xlink";
> > > xmlns:dc="http://purl.org/dc/elements/1.1/";
> > > xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
> > > xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
> > > xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
> > > xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
> > > xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
> > > xmlns:math="http://www.w3.org/1998/Math/MathML";
> > > xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
> > > xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
> > > xmlns:ooo="http://openoffice.org/2004/office";
> > > xmlns:ooow="http://openoffice.org/2004/writer";
> > > xmlns:oooc="http://openoffice.org/2004/calc";
> > > xmlns:dom="http://www.w3.org/2001/xml-events";
> > > xmlns:xforms="http://www.w3.org/2002/xforms";
> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > > office:version="1.0">
> > > <xsl:template
> > > match="office:document-content/office:body/office:spreadsheet/
> > > table:table/table:table-row/table:table-cell/text:p">
> > >       <p>     <xsl:value-of select="."/></p>
> > >               </xsl:template>
> > > </xsl:stylesheet>
> > >
> > > But still get a ridiculous output:
> > >
> > > <?xml version="1.0"?>
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >       <p
> > > xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
> > > xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
> > > xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
> > > xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
> > > xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
> > > xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
> > > xmlns:xlink="http://www.w3.org/1999/xlink";
> > > xmlns:dc="http://purl.org/dc/elements/1.1/";
> > > xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
> > > xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
> > > xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
> > > xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
> > > xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
> > > xmlns:math="http://www.w3.org/1998/Math/MathML";
> > > xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
> > > xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
> > > xmlns:ooo="http://openoffice.org/2004/office";
> > > xmlns:ooow="http://openoffice.org/2004/writer";
> > > xmlns:oooc="http://openoffice.org/2004/calc";
> > > xmlns:dom="http://www.w3.org/2001/xml-events";
> > > xmlns:xforms="http://www.w3.org/2002/xforms";
> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>23</p>
> > >
> > > that's per number.... anyway I can 'hide' the namespaces from
> > > the output?
> > >
> > >
> > > On 6/23/05, Jon Gorman <jonathan.gorman@xxxxxxxxx> wrote:
> > > > > BTW Quanta is a HTML/XML editor for the KDE desktop.
> > > > > http://quanta.sourceforge.net/
> > > >
> > > > *lol*.  Sorry, I think I took it in a completely different fashion
> > > > such as an unusual application of set theory or logic.  Trying to
> > > > picture measurable quantities of some sort in relations to the form.
> > > > Haven't used Quanta before (obviously) so I'm not sure why
> > > it's doing
> > > > that.
> > > >
> > > > I should just add that XSLT tends to not conern itself with the tags
> > > > as much as the actual concepts themselves such as element,
> > > attribute.
> > > > SAX processing is tag based though.  It can be a bit of a source of
> > > > confusion for XSLT beginners who want to find the "opening
> > > tag" for an
> > > > element but what they're really just looking for is the element.
> > > >
> > > > Jon Gorman
> > > >
> > > >
> > >
> > >
> > > --
> > > Kahlil Johnson
> > > "Ya tengo GMAIL!!"
> >
> >
>
>
> --
> Kahlil Johnson
> "Ya tengo GMAIL!!"
>


--
Kahlil Johnson
"Ya tengo GMAIL!!"

Current Thread