Registry / serialization / xalan-c

xalan-c

JSON →
library1.12vcpkgunverified

Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types

vcpkg install xalan-c
INSTALL
IMPORT
SIG · XALAN-C
X
xalan-c
serializationcppv1.12
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

xalanc/XalanTransformer/XalanTransformer.hpp
#include <xalanc/XalanTransformer/XalanTransformer.hpp>

Transforms an XML string using an XSLT stylesheet

#include <xalanc/XalanTransformer/XalanTransformer.hpp> #include <iostream> int main() { XALAN_USING_XALAN(XalanTransformer) XalanTransformer transformer; const char* xml = "<root><item>Hello</item></root>"; const char* xslt = "<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'><xsl:template match='/'>Transformed: <xsl:value-of select='root/item'/></xsl:template></xsl:stylesheet>"; const char* result; int len; if (transformer.transform(xml, xslt, result, len) == 0) { std::cout << result << std::endl; } return 0; }
Debug
Known issues
gotchaXalan-C++ requires Xerces-C++ for XML parsing and must be linked correctly.
fix
Ensure both Xalan-C++ and Xerces-C++ are installed and linked in your CMake project.
affects: *
Upgrade
Version history
1.12latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
1
Resources
xalan-c — pip install xalan-c · libregistry