Jump to content

Rob

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Rob

  • Rank
    Newbie
  1. I'm trying to gather a variable. I need a select statement that will reliably achieve the outputs below: XML is <study.name>Cold Agglutinin <intl type="spelling"><us>Titer</us><ca>Titre</ca></intl> </study.name> Need output to be Cold Agglutinin Titer Gets only what's in <us> descendant OR <study.name><intl type="spelling"><us>Color</us><ca>Colour</ca></intl> Perception Test</study.name> Need output to be Color Perception Test Gets only what's in <us> de
  2. Rob

    Rob

    If I add this to the source file it works: <!DOCTYPE mainentry [ <!ENTITY abreve "&#38;#x0103;"> ]> I get proper output of ă However, I cannot add that to all of the files. Is there something I can do in the XSLT to accomplish this? Somehow insert that and other entity declarations either into the doc or with an include of somekind?
  3. Rob

    Rob

    That is what's happening. It uses a custom-bulit engine. This is how the $storage variable is being created: <xsl:copy-of select="doc(concat('c:///service/assets/asset/id/', asset/@id, '/version/', asset/@version, '/storage/master/file'))"/> Is there a better way to do that so that it wouldn't do this?
  4. Rob

    Rob

    Sorry, yes, here's all of the methods I've tried: <pronounce><xsl:value-of select="$storage/mainentry/pronounce[1]/text()" disable-output-escaping="yes"/></pronounce><br/> <pronounce><xsl:value-of select="$storage/mainentry/pronounce[1]/text()" disable-output-escaping="no"/></pronounce> <pronounce><xsl:value-of select="$storage/mainentry/pronounce" disable-output-escaping="yes"/></pronounce> <pronounce><xsl:value-of select="$storage/mai
  5. Rob

    Rob

    That was submitted prematurely. Allow me to restate: I'm using XSLT to take XML and output to different XML. One node has <pronounce>&abreve;-b&umacr;s&prime; d&emacr;-t&ebreve;r&prime;&ebreve;nt</pronounce> This <xsl:value-of select="$storage/mainentry/pronounce[1]" disable-output-escaping="yes"/> Only outputs -bs d-trnt but I want it to output exactly what's in the document: &abreve;-b&umacr;s&prime; d&emacr;-t&ebreve;r&prime;&ebreve;nt Or even transform the entities to the HTML equiv
  6. I'm using XSLT to take XML and output to different XML. One node has <pronounce>&abreve;-b&umacr;s&prime; d&emacr;-t&ebreve;r&prime;&ebreve;nt</pronounce> This <xsl:value-of select="$storage/mainentry/pronounce[1]" disable-output-escaping="yes"/> Only outputs -bs d-trnt but I want it to output exactly what's in the document: &abreve;-b&umacr;s&prime; d&emacr;-t&ebreve;r&prime;&ebreve;nt Or even transform the entities to the HTML equivalents. Those entities are not declared i
  7. Rob

    Rob

    I'm using XSLT to take XML and output to different XML. One node has <pronounce>&abreve;-b&umacr;s&prime; d&emacr;-t&ebreve;r&prime;&ebreve;nt</pronounce> This <xsl:value-of select="$storage/mainentry/pronounce[1]" disable-output-escaping="yes"/> Only outputs -bs d-trnt but I want it to output exactly what's in the document: &abreve;-b&umacr;s&prime; d&emacr;-t&ebreve;r&prime;&ebreve;nt
×
×
  • Create New...