Are you reading the files within the XSL via "exsl:document()"? Then you have
XML on your hands. (Hoefully Doenet has well-formed (X)HTML.
Now it goes into an attribute? @srcdoc? You've got less-than symbols to worry
about? In addition to double-quotes. I've seen XSL do "the right thing" with
quotes and use a *single* quote to delimit the attribute value. But your goal
is text with no dangerous XML characters? The "xml-to-text" templates don't do
that?
There is disable-ouput-escaping="yes" which is always a read flag and should be
voided. So for get I said that.
I don't think I'm helping much, but maybe I don't quite have teh full picture.
Rob
On 6/3/26 21:06, Oscar Levin wrote:
> I would like to take the /portable/ html builds to the next level by removing
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to
pretext-dev...@googlegroups.com <mailto:
pretext-
>
dev+uns...@googlegroups.com>.
> To view this discussion visit
https://groups.google.com/d/msgid/pretext-
> dev/7ceb1f99-357f-463f-a703-8cc95e7bf9bdn%
40googlegroups.com <https://
>
groups.google.com/d/msgid/pretext-dev/7ceb1f99-357f-463f-
> a703-8cc95e7bf9bdn%
40googlegroups.com?utm_medium=email&utm_source=footer>.