[Home] [By Thread] [By Date] [Recent Entries]
Thanks, I was looking for something different for base-uri() rather than
something to create the collection differently. I've change the for loop
to this:
<xsl:for-each select=" uri-collection($rawimagecollectionString)" > <xsl:variable name="FILE" select="substring-after(., $rawsrcPath)"/> <xsl:choose>
<xsl:when test="$STRUCTURE//image[@file=$FILE]">
<!--Found <xsl:value-of select="$FILE"/>-->
</xsl:when>
<xsl:otherwise>
<file file="{$FILE}" mode="list"/>
</xsl:otherwise>
</xsl:choose></xsl:for-each> Currently my problem seems to be related to defining the uri value in uri-collection(). Trying to use the help in the Saxon docs I tried this <xsl:variable name="rawimagecollectionString" select="concat($rawsrcPath, 'select=*.(jpg|gif|svg|png)')"/> But that is failing with: Invalid URI passed to uri-collection: file:/Users/danvint/pubsrc/_src-data-files/asciidoc-processing/Ixia-Source/dita-files/FORMAT_sample_2_1_Early_Access_CONTENT.FormatSample2.Ping_Export_DRM.English/dita/out/normal/../../select=*.(jpg|gif|svg|png) The directory exists, so it seems like the problem is in forming the select portion. Note that this path is similar format as I use for a collection() uri, so I'm not sure what is the source of the problem. ..dan On 2024-08-09 14:59, Martin Honnen martin.honnen@xxxxxx wrote: On 09/08/2024 23:52, Martin Honnen martin.honnen@xxxxxx wrote:
|

Cart



